package com.dgut.cbd.exp2.practice;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Program: exp2
 * @Description:
 * @Author: cbd
 * @Create: 2021-05-05
 * @Version: 1.0.0
 **/
@ConfigurationProperties(prefix = "cbd.auto")
public class CustomProperties {

    /**
     *   自动配置类是否生效
     **/
    private boolean enable;

    public boolean isEnable(){
        return enable;
    }

    public void setEnable(boolean enable){
        this.enable=enable;
    }
}
